#ifndef PRELOADCONTROLLER_H
#define PRELOADCONTROLLER_H

#include <QObject>
#include <QString>

class PreloadController : public QObject {
    Q_OBJECT
public:
    explicit PreloadController(QObject* parent = nullptr);

    void updateWindow(int visibleCompositeIndex, int radius, int mode);

signals:
    void requestOriginal(const QString& fileHash, int pageIndex, int dpiBucket, int priority);
};

#endif // PRELOADCONTROLLER_H


